home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'OleDlg.pas' rev: 3.00
-
- #ifndef OleDlgHPP
- #define OleDlgHPP
- #include <ActiveX.hpp>
- #include <Commctrl.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- #include <oledlg.h>
-
-
- namespace Oledlg
- {
- //-- type declarations -------------------------------------------------------
- typedef int __stdcall (*TFNOleUIHook)(HWND Wnd, int Msg, int WParam, int LParam);
-
- typedef tagOLEUIINSERTOBJECTA *POleUIInsertObject;
-
- typedef tagOLEUIINSERTOBJECTA TOleUIInsertObject;
-
- typedef tagOLEUIPASTEENTRYA *POleUIPasteEntry;
-
- typedef tagOLEUIPASTEENTRYA TOleUIPasteEntry;
-
- typedef tagOLEUIPASTESPECIALA *POleUIPasteSpecial;
-
- typedef tagOLEUIPASTESPECIALA TOleUIPasteSpecial;
-
- __interface iOleUILinkContainer;
- typedef System::DelphiInterface<iOleUILinkContainer> _di_iOleUILinkContainer;
- __interface iOleUILinkContainer : public IUnknown /* __guid="{00000000-0000-0000-0000-000000000000}" */
-
- {
-
- public:
- virtual int __stdcall GetNextLink(int dwLink) = 0;
- virtual HRESULT __stdcall SetLinkUpdateOptions(int dwLink, int dwUpdateOpt) = 0;
- virtual HRESULT __stdcall GetLinkUpdateOptions(int dwLink, int &dwUpdateOpt) = 0;
- virtual HRESULT __stdcall SetLinkSource(int dwLink, char * pszDisplayName, int lenFileName, int &chEaten
- , BOOL fValidateSource) = 0;
- virtual HRESULT __stdcall GetLinkSource(int dwLink, char * &pszDisplayName, int &lenFileName, char *
- &pszFullLinkType, char * &pszShortLinkType, BOOL &fSourceAvailable, BOOL &fIsSelected) = 0;
- virtual HRESULT __stdcall OpenLinkSource(int dwLink) = 0;
- virtual HRESULT __stdcall UpdateLink(int dwLink, BOOL fErrorMessage, BOOL fErrorAction) = 0;
- virtual HRESULT __stdcall CancelLink(int dwLink) = 0;
- };
-
- typedef tagOLEUIEDITLINKSA *POleUIEditLinks;
-
- typedef tagOLEUIEDITLINKSA TOleUIEditLinks;
-
- typedef tagOLEUICHANGEICONA *POleUIChangeIcon;
-
- typedef tagOLEUICHANGEICONA TOleUIChangeIcon;
-
- typedef tagOLEUICONVERTA *POleUIConvert;
-
- typedef tagOLEUICONVERTA TOleUIConvert;
-
- typedef tagOLEUIBUSYA *POleUIBusy;
-
- typedef tagOLEUIBUSYA TOleUIBusy;
-
- __interface iOleUIObjInfo;
- typedef System::DelphiInterface<iOleUIObjInfo> _di_iOleUIObjInfo;
- __interface iOleUIObjInfo : public IUnknown /* __guid="{00000000-0000-0000-0000-000000000000}" */
- {
-
- public:
- virtual HRESULT __stdcall GetObjectInfo(int dwObject, int &dwObjSize, char * &lpszLabel, char * &lpszType
- , char * &lpszShortType, char * &lpszLocation) = 0;
- virtual HRESULT __stdcall GetConvertInfo(int dwObject, GUID &ClassID, Word &wFormat, GUID &ConvertDefaultClassID
- , System::PGUID &lpClsidExclude, int &cClsidExclude) = 0;
- virtual HRESULT __stdcall ConvertObject(int dwObject, const GUID &clsidNew) = 0;
- virtual HRESULT __stdcall GetViewInfo(int dwObject, int &hMetaPict, int &dvAspect, int &nCurrentScale
- ) = 0;
- virtual HRESULT __stdcall SetViewInfo(int dwObject, int hMetaPict, int dvAspect, int nCurrentScale,
- BOOL bRelativeToOrig) = 0;
- };
-
- __interface iOleUILinkInfo;
- typedef System::DelphiInterface<iOleUILinkInfo> _di_iOleUILinkInfo;
- __interface iOleUILinkInfo : public iOleUILinkContainer /* __guid="{00000000-0000-0000-0000-000000000000}" */
-
- {
-
- public:
- virtual HRESULT __stdcall GetLastUpdate(int dwLink, _FILETIME &LastUpdate) = 0;
- };
-
- typedef tagOLEUIGNRLPROPSA *POleUIGnrlProps;
-
- typedef tagOLEUIGNRLPROPSA TOleUIGnrlProps;
-
- typedef tagOLEUIVIEWPROPSA *POleUIViewProps;
-
- typedef tagOLEUIVIEWPROPSA TOleUIViewProps;
-
- typedef tagOLEUILINKPROPSA *POleUILinkProps;
-
- typedef tagOLEUILINKPROPSA TOleUILinkProps;
-
- typedef tagOLEUIOBJECTPROPSA *POleUIObjectProps;
-
- typedef tagOLEUIOBJECTPROPSA TOleUIObjectProps;
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Oledlg */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Oledlg;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // OleDlg
-